package com.pinecone.dao;

import com.pinecone.dto.LiveRoomResponseDTO;
import com.pinecone.entity.LiveRoomEntity;
import com.pinecone.dao.BaseDao;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * 直播活动表
 * 
 * @author hushangjie
 * @email 979783618@qq.com
 * @date 2017-09-27 21:17:58
 */
@Mapper
@Repository
public interface LiveRoomDao extends BaseDao<LiveRoomEntity> {
    void increaseOnlineVisitedNum(String liveRoomId);
    void increaseReplayVisitedNum(String liveRoomId);
    List<LiveRoomResponseDTO> queryLiveRoomResponseList(Map<String, Object> map);
    int queryLiveRoomResponseTotal(Map<String, Object> map);
}
